package org.gd.hellojaxb.privat24.page;

import javax.xml.bind.annotation.*;

@XmlRootElement(name = "settings")
@XmlAccessorType(XmlAccessType.NONE)
public class PageSettings {

    @XmlAttribute(name = "registration")
    private PageSettingsStatus registration;
    @XmlAttribute(name = "unlock")
    private PageSettingsStatus unlock;

    public PageSettings() {
    }

    public PageSettings(PageSettingsStatus registration, PageSettingsStatus unlock) {
        this();
        this.registration = registration;
        this.unlock = unlock;
    }

    public PageSettingsStatus getRegistration() {
        return registration;
    }

    public PageSettingsStatus getUnlock() {
        return unlock;
    }
}
